<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>视听词典</title>
<link href="templates/css/picandtext.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="templates/js/jquery.js"></script>
<style type="text/css">
    td.row{
        width:80px;
    }
    #topNavBar{
        margin-bottom:30px;
    }
</style>
<script type="text/javascript">
$(function(){
});
function get_explain(word,no,obj){
      $.getJSON("{{url controller="study" action="explain"}}",
        {word:word,no:no},
        function(data){
        obj.replaceWith("<p>"+data.pic_text+"</p><p>"+data.pic_text_zh+"</p>");
        }); 
}
function clickall(){
    $(":button").click();
}
</script>
</head>
<body>
    <div id="content">
        {{webcontrol type="menu" name="mymenu"}}
        <div>当前所在的分类:{{$selected_category}}</div>
        <form id="form_select_category" method="post" action="{{url controller=word action=setcategory}}">
            <p>
            <select name="category">
                {{foreach from=$data_select_category item=item key=key}}
                <optgroup label="{{$key}}">
                    {{foreach from=$item item=i key=k}}
                    <option value="{{$i}}">{{$k}}</option>
                    {{/foreach}}
                </optgroup>
                {{/foreach}}
            </select>
            </p>
        <input type="reset" value="重置">
        <input type="submit" value="提交">
        </form>
    </div>
</body>
</html>

